<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="UTF-8">
    <title></title>
    <span th:include="~{include::mystyle}"></span>
    <style>
        #main {
            width: 100%;
            height: 1000px;
            background-color: #cccccc;
        }
        #menu {
            float: left;
            width: 25%;
            height: 700px;
        }
        #content {
            float: left;
            width: 70%;
            height: 700px;
            /*background-color: green;*/
        }
    </style>
</head>
<body>
  <h1>这是主页</h1>
   <div id="main">
       <div id="menu">
           <ul th:each="menu:${session.user.auths}" th:object="${menu}">
                <li>
                    <a th:href="*{url}" th:text="*{aname}"></a>
                </li>
           </ul>

       </div>
       <div id="content"></div>
   </div>
</body>
</html>
